package top.wilbert.collegelink.positionresume.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;
import top.wilbert.collegelink.common.utils.R;

/**
 * @author Augus
 * @email 2531496343@qq.com
 */
@FeignClient("collegelink-third-party")
public interface ThirdPartFeignService {

    @PostMapping(value = "/oss/uploadResume", consumes = {MediaType.MULTIPART_FORM_DATA_VALUE})
    public String uploadResume(@RequestPart("resume") MultipartFile resume);
}
